/********************************************************************
	Rhapsody	: 7.5 
	Login		: kbe
	Component	: DefaultComponent 
	Configuration 	: CodeConfig
	Model Element	: AlarmEvent
//!	Generated Date	: Thu, 13, Sep 2012  
	File Path	: DefaultComponent\CodeConfig\AlarmEvent.cpp
*********************************************************************/

//## auto_generated
#include "AlarmEvent.h"
//## auto_generated
#include "Reactor.h"
//## package Default

//## class AlarmEvent
AlarmEvent::AlarmEvent(Reactor* reactor, HANDLE h) {
    //#[ operation AlarmEvent(Reactor*,HANDLE)
    itsReactor = reactor;
    handle = h;
    //#]
}

AlarmEvent::AlarmEvent() {
}

AlarmEvent::~AlarmEvent() {
}

void AlarmEvent::handleEvent(HANDLE h, Event_Type& et) {
    //#[ operation handleEvent(HANDLE,Event_Type)
    AlarmAction();
    //#]
}

void AlarmEvent::AlarmAction() {
    //#[ operation AlarmAction()
    printf("Alarm\n");
    //#]
}

/*********************************************************************
	File Path	: DefaultComponent\CodeConfig\AlarmEvent.cpp
*********************************************************************/
